#define _CRT_SECURE_NO_WARNINGS
#include"Sort.h"
void TestBubbleSort()
{
	int a[] = { 10,2,4,1,7,8,3,9,2 };
	BubbleSort(a, sizeof(a) / sizeof(int));
	PrintArray(a, sizeof(a) / sizeof(int));
}
void TestQuickSort()
{
	int a[] = { 10,2,4,1,7,8,3,9,2 };
	QuickSort(a, 0, sizeof(a) / sizeof(int) - 1);
	PrintArray(a, sizeof(a) / sizeof(int));
}
void TestQuickSortNonR()
{
	int a[] = { 10,2,4,1,7,8,3,9,2 };
	QuickSort(a, 0, sizeof(a) / sizeof(int) - 1);
	PrintArray(a, sizeof(a) / sizeof(int));
}
int main()
{
	//TestBubbleSort();
	//TestQuickSort();
	TestQuickSortNonR();
	return 0;
}